package com.itdct.onflow.system.common.task

import cn.hutool.extra.spring.SpringUtil
import com.itdct.onflow.system.common.manager.CleanExpireFileManager
import com.itdct.onflow.system.task.base.BaseTask
import com.itdct.onflow.system.task.entity.SysTaskEntity

/**
 * @author Zhouwx
 * @date 2025/9/22 10:52:47
 * @version 1.0
 * @description
 */
class CleanExpireFileTask : BaseTask() {
    override fun execute(sysTaskEntity: SysTaskEntity) {
        val cleanExpireFileManager = SpringUtil.getBean(CleanExpireFileManager::class.java)
        cleanExpireFileManager.cleanExpireFile()
    }
}